﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="OF.Web.index" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:TextBox ID="txtkey" Text="请输入店铺名称" runat="server"></asp:TextBox>
        <asp:Button runat="server" ID="btnSearch" Text="搜索" OnClick="btnSearch_Click" /><br />
        热门搜索：

          <asp:LinkButton runat="server" ID="btnWM" Text="外卖" OnClick="btnWM_Click" />
        <asp:LinkButton runat="server" ID="btnDC" Text="点餐" OnClick="btnDC_Click" /><br />


        <asp:Repeater ID="rptwmList" runat="server">
            <ItemTemplate>
                <%#Eval("shopname") %>
                人均<%#Eval("average_spend") %>元 起送价格：<%#Eval("floorprice") %> 配送费用：<%#Eval("tip") %> 配送时间：<%#Eval("send_starttime") %>-<%#Eval("send_endtime") %>
                <a href="shop.aspx?id=<%#Eval("id") %>&type=waimai">进店看看</a>
                <br />
            </ItemTemplate>
        </asp:Repeater>


        <asp:Repeater ID="rptdcList" runat="server">
            <ItemTemplate>
                <%#Eval("shopname") %>
                人均<%#Eval("average_spend") %>元 店铺地址：<%#Eval("shopaddress") %>  联系电话：<%#Eval("phone") %>
                <a href="shop.aspx?id=<%#Eval("id") %>&type=diancan">进店看看</a>
                <br />
            </ItemTemplate>
        </asp:Repeater>

    </form>
</body>
</html>
